package cn.iocoder.yudao.module.ao.controller.admin.major.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;
import java.math.BigDecimal;

@Schema(description = "管理后台 - 专业信息新增/修改 Request VO")
@Data
public class MajorSaveReqVO {

    @Schema(description = "专业ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "7134")
    private Long majorId;

    @Schema(description = "所属科组ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "30265")
    @NotNull(message = "所属科组ID不能为空")
    private Long deptId;

    @Schema(description = "所属学校ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "4876")
    @NotNull(message = "所属学校ID不能为空")
    private Long schoolId;

    @Schema(description = "专业名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六")
    @NotEmpty(message = "专业名称不能为空")
    private String majorName;

    @Schema(description = "专业编码", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "专业编码不能为空")
    private String majorCode;

    @Schema(description = "学制年限", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "学制年限不能为空")
    private Integer duration;

    @Schema(description = "总学分要求")
    private BigDecimal totalCredits;

    @Schema(description = "专业负责人ID", example = "2554")
    private Long majorDirectorId;

    @Schema(description = "专业描述", example = "你说的对")
    private String description;

    @Schema(description = "状态（0正常 1停用）", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "状态（0正常 1停用）不能为空")
    private Integer status;

}